package com.cloud.salon.client.menber.service;

import com.cloud.salon.common.crud.service.CRUDService;
import com.cloud.salon.common.base.response.Res;
import com.cloud.salon.common.base.entity.menber.Staff;

import java.util.List;

/*
 * @Description 员工Service抽象接口
 * @Author wolf--LZH
 * @CreateDate 2019/4/26 0026 下午 10:00
 */
public interface StaffService extends CRUDService<Staff> {

	Res<Staff> findByUser(Integer userId);

	Res<List<Staff>> findByKey(String key);
}
